package com.book.bookmanager.service;



import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.bookmanager.pojo.Book;
import com.book.bookmanager.pojo.User;

import java.util.Map;

public interface bookService {
    public Map<String, Object> queryAll(String token);
    public void removeById(Integer id);
    public void addBook(Book book);
    public Book queryById(Integer id);
    public void changeBook(Book book);
    public void addPhoto(Book book);
    IPage<Book> selectPage(Page<Book> page);

}
